package vip.xiaonuo.client.modular.testPaper.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;

import java.util.List;
import java.util.Map;

@Getter
@Setter
public class SubmitTestPaperParam {
    /** 主键 */
    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "id不能为空")
    private String id;
    /** 答案 */
    @Schema(description = "答案", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "答案不能为空")
    private Map<String,String> questions;
}
